package com.deer.im.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 消息请求页面Controller
 * @author deer
 * @date 2021年11月30日
 */
@Controller
@RequestMapping("/deerim/")
public class DeerImController {

	@GetMapping("chat")
    public ModelAndView chat(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("chat");
    	return mv;
    }
	
	@GetMapping("mobileim")
    public ModelAndView mobile(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("chat-mobile");
    	return mv;
    }
	
	@GetMapping("pcim")
    public ModelAndView pcim(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("chat-pc");
    	return mv;
    }
	
	@GetMapping("housepcim")
    public ModelAndView housepcim(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("house-chat-pc");
    	return mv;
    }
	
	@GetMapping("collection")
    public ModelAndView collection(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("collection");
    	return mv;
    }
	
	@GetMapping("index")
    public ModelAndView index(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("index");
    	return mv;
    }
	
	@GetMapping("show")
    public ModelAndView show(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("show");
    	return mv;
    }
	
	@GetMapping("test")
    public ModelAndView test(){
    	ModelAndView mv = new ModelAndView();
    	mv.setViewName("video-test");
    	return mv;
    }

}
